﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using agsXMPP;
using agsXMPP.protocol.client;

namespace WebClient
{
    public class User
    {
        private Jid jid;
        private ShowType status;
        private string statusText;
        private PresenceType type;
        private List<string> conversatie;

        public User(Jid jid, ShowType status, string statusText, PresenceType type)
        {
            this.jid = jid;
            this.status = status;
            this.statusText = statusText;
            this.type = type;
            conversatie = new List<string> {"De conversatie van: " + this.Jid.Bare};
        }

        public Jid Jid
        {
            get { return jid; }
            set { jid = value; }
        }

        public ShowType Status
        {
            get { return status; }
            set { status = value; }
        }

        public string StatusText
        {
            get { return statusText; }
            set { statusText = value; }
        }

        public PresenceType Type
        {
            get { return type; }
            set { type = value; }
        }

        public List<string> Conversatie
        {
            get { return conversatie; }
            set { conversatie = value; }
        }     
    }
}